tools/misc/miniterm/miniterm
tools/misc/xen_read_console
extras/mini-os/h/hypervisor-ifs
+xen/BLOG
+xen/drivers/block/xen_vbd.o
#ifndef __BLOCK_H__
#define __BLOCK_H__
-/*
- * Command values for block_io_op()
- */
-
-#define BLKOP_PUSH_BUFFERS 0 /* Notify Xen of new requests on the ring. */
-#define BLKOP_FLUSH_BUFFERS 1 /* Flush all pending request buffers. */
-
-
/*
* Device numbers
*/
#define PF_CONSTRUCTED 0x8 /* Has the guest OS been fully built yet? */
#include <xeno/vif.h>
-#include <xeno/block.h>
-#include <xeno/segment.h>
+#include <xeno/vbd.h>
/* SMH: replace below when have explicit 'priv' flag or bitmask */
#define IS_PRIV(_p) ((_p)->domain == 0)
the process can do raw access
to. */
spinlock_t physdev_lock;
- segment_t *segment_list[XEN_MAX_SEGMENTS];
+ vbd_t *vbd_list[XEN_MAX_VBDS];
/* VM */
struct mm_struct mm;
return ret;
}
-static inline int HYPERVISOR_block_io_op(unsigned int op)
+static inline int HYPERVISOR_block_io_op(void * block_io_op)
{
int ret;
__asm__ __volatile__ (
TRAP_INSTR
: "=a" (ret) : "0" (__HYPERVISOR_block_io_op),
- "b" (op) );
+ "b" (block_io_op) );
return ret;
}